const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: "./",
  outputDir: "dist",
  assetsDir: "assets",
  indexPath: "index.html",
  lintOnSave: false,
  devServer: {
    // open: true,
    hot: true,
    proxy: {
      "/api": {
        target: "http://10.100.159.159:7000",  //目标接口域名
        changeOrigin: true,  //是否跨域
        pathRewrite: {
          "^/api":""
        }
      },
    },
  },
})
